<template>
  <div class="user">
    <div class="user-content">用户中心{{users}}</div>
  </div>
</template>
<script type="text/javascript">
import { mapActions, mapState, mapGetters, mapMutations } from "vuex";
export default {
  data() {
    return {};
  },
  created() {},
  watch: {
    pageSize: function(old, now) {
      this.load();
    },
    page: function(old, now) {
      this.load();
    }
  },
  computed: {
    ...mapState("userManage", ["users"])
  },
  methods: {
    ...mapActions("userManage", ["updateUser"]),
    // 保存用户
    toSave(formLabelAlign) {
      // this.updateUser(this.formLabelAlign)
    }
  }
};
</script>
<style>
.user {
  margin: 10px;
  height: 100%;
  width: 98%;
  position: absolute;
}

.user-content {
  height: 550px;
  overflow-y: auto;
}
</style>